package org.jeecg.modules.demo.safemanage.zyhazardinvestigation.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 功能描述
 *
 * @program: jeecg-boot
 * @description:
 * @author: wwq
 * @create: 2024-07-22 14:33
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultVo {
    private int pass = 0;// 超期
    private int rectified = 0;//待整改
    private int review = 0;//待复查
    private int qualified = 0;//合格
    private int unqualified = 0;//不合格
    private int total=0;
    private String siteId;
    private String projectName;

    /**
     * 增加待整改的数量。
     */
    public void incrementRectified() {
        this.rectified++;
    }
    public void incrementPass() {
        this.pass++;
    }

    public void incrementReview() {
        this.review++;
    }

    public void incrementQualified() {
        this.qualified++;
    }

    public void incrementUnqualified() {
        this.unqualified++;
    }

    public void incrementTotal() {
       this.total = this.pass + this.review + this.qualified + this.unqualified;
    }

    public int getPass() {

        return pass;

    }

    public int getReview() {

        return review;
    }


    public int getQualified() {

        return qualified;
    }

    public int getUnqualified() {

        return unqualified;
    }


    // 其他方法...

    public int getRectified() {
        return rectified;
    }
}
